﻿<UserControl x:Class="Matchingo.Models.ParticleControlFactory.StarParticle"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="49" d:DesignHeight="53">
	<UserControl.Resources>
		<SolidColorBrush x:Key="Star_1_Stroke" Color="#88000000"/>
		<SolidColorBrush x:Key="Star_2_Stroke_2" Color="#A6000000"/>
		<RadialGradientBrush x:Key="Star_1_Fill" GradientOrigin="0.5,0.547">
			<RadialGradientBrush.RelativeTransform>
				<TransformGroup>
					<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="2.346" ScaleY="1.393"/>
					<SkewTransform CenterX="0.5" CenterY="0.5"/>
					<RotateTransform CenterX="0.5" CenterY="0.5"/>
					<TranslateTransform X="-0.031" Y="-0.197"/>
				</TransformGroup>
			</RadialGradientBrush.RelativeTransform>
			<GradientStop Color="#FFA0B6EE"/>
			<GradientStop Color="#FF547ADC" Offset="1"/>
			<GradientStop Color="#FF7D99E2" Offset="0.402"/>
			<GradientStop Color="#FFC2D0F4" Offset="0.344"/>
		</RadialGradientBrush>
		<RadialGradientBrush x:Key="Star_2_Fill">
			<RadialGradientBrush.RelativeTransform>
				<TransformGroup>
					<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="2.462" ScaleY="1.554"/>
					<SkewTransform CenterX="0.5" CenterY="0.5"/>
					<RotateTransform CenterX="0.5" CenterY="0.5"/>
					<TranslateTransform X="-0.013" Y="-0.183"/>
				</TransformGroup>
			</RadialGradientBrush.RelativeTransform>
			<GradientStop Color="#FFFFC3A7"/>
			<GradientStop Color="#FFE6941C" Offset="1"/>
			<GradientStop Color="#FFF4814D" Offset="0.368"/>
			<GradientStop Color="#FFFFB76B" Offset="0.332"/>
		</RadialGradientBrush>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot">
    	<Path Stretch="Fill" Data="M18.499096,6.8099499 C21.034996,6.8781404 32.627472,9.3578615 32.627472,9.3578615 L21.382824,17.966932 L24.106375,29.909868 L12.448719,22.450033 L0.39709902,29.99103 L2.5903969,17.81749 L-6.746541,8.760725 C-6.746541,8.760725 6.0792799,7.1100693 6.0792799,7.1100693 C5.9173689,7.2512908 12.294683,-5.6452432 12.294683,-5.6452432 z" x:Name="StarPath" RenderTransformOrigin="0.5,0.5" Stroke="{StaticResource Star_1_Stroke}" StrokeThickness="2" Fill="{StaticResource Star_2_Fill}">
    		<Path.RenderTransform>
    			<TransformGroup>
    				<ScaleTransform/>
    				<SkewTransform/>
    				<RotateTransform/>
    				<TranslateTransform/>
    			</TransformGroup>
    		</Path.RenderTransform>
    	</Path>
    </Grid>
</UserControl>
